// import './函数'
// import './类'
import './算法1'
// import './装饰器'
// // 枚举类型
// export enum Color {
//   Red,
//   Yellow,
//   Blue,
// }

// console.log(Color.Red);
// console.log(Color[0]);
// console.log(Color);

// // 大整型
// // const s: bigint = BigInt(1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);

// // console.log(s);

// // symbol: 唯一的值

// console.log(1 === 1);
// console.log(Symbol(1) === Symbol(1));
// console.log(Symbol(1), Symbol(1));
// // typeof
// //  类型保护

// function fn(params: number | string | boolean): number {
//   // 1. 字符串 返回字符串长度
//   // 2. 数字 直接返回
//   // 3. true 1    false 0
//   switch (typeof params) {
//     case "boolean":
//       return params ? 1 : 0;
//     case "number":
//       return params;
//     case "string":
//       return params.length;
//   }
// }
